package kr.hkit.powerjava.chapter07.work;

public class Movie {
	private String subject; 
	private String supervisor; 
	private int grade; 
	private int year; 

	public Movie() {
	}

	public Movie(String subject, String supervisor, int grade, int year) {
		this.subject = subject;
		this.supervisor = supervisor;
		this.grade = grade;
		this.year = year;
	}

	public void setMoive(String subject, String supervisor, int grade, int year) {
		this.subject = subject;
		this.supervisor = supervisor;
		this.grade = grade;
		this.year = year;
	}

	public void print() {
		System.out.println("Movie [제목 : " + subject + ", 감독 : " + supervisor
				+ ", 평점 : " + grade + ", 개봉년도 : " + year + "]");
	}

}


